package order_food_category

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var _ OrderFoodCategoryModel = (*customOrderFoodCategoryModel)(nil)

type (
	// OrderFoodCategoryModel is an interface to be customized, add more methods here,
	// and implement the added methods in customOrderFoodCategoryModel.
	OrderFoodCategoryModel interface {
		orderFoodCategoryModel
	}

	customOrderFoodCategoryModel struct {
		*defaultOrderFoodCategoryModel
	}
)

// NewOrderFoodCategoryModel returns a model for the database table.
func NewOrderFoodCategoryModel(conn sqlx.SqlConn) OrderFoodCategoryModel {
	return &customOrderFoodCategoryModel{
		defaultOrderFoodCategoryModel: newOrderFoodCategoryModel(conn),
	}
}
